﻿<UserControl 
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:ctrls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
    xmlns:regions="clr-namespace:Microsoft.Practices.Composite.Presentation.Regions;assembly=Microsoft.Practices.Composite.Presentation"
     x:Class="TelecoSystems.Modules.Products.Views.ProductsModuleView"
    mc:Ignorable="d"
    d:DesignHeight="300" d:DesignWidth="400">    
    <Grid x:Name="LayoutRoot">
        <ctrls:TabControl Style="{StaticResource TabControlStyle}" regions:RegionManager.RegionName="ProductsModuleRegion" Padding="10,20,10,10" Margin="10" Background="#CC2A2A2A">
        	<ctrls:TabControl.Effect>
        		<DropShadowEffect/>
        	</ctrls:TabControl.Effect>
            <ctrls:TabControl.BorderBrush>
                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                    <GradientStop Color="#54B2B2B2" Offset="0"/>
                    <GradientStop Color="#54A3A3A3" Offset="0.375"/>
                    <GradientStop Color="#54858585" Offset="0.375"/>
                    <GradientStop Color="#548D8D8D" Offset="1"/>
                </LinearGradientBrush>
            </ctrls:TabControl.BorderBrush>
            <regions:TabControlRegionAdapter.ItemContainerStyle>
                <Style TargetType="ctrls:TabItem">
                    <Setter Property="HeaderTemplate">
                        <Setter.Value>
                            <DataTemplate>
                                <TextBlock Text="{Binding HeaderInfo}" />
                            </DataTemplate>
                        </Setter.Value>
                    </Setter>
                </Style>
            </regions:TabControlRegionAdapter.ItemContainerStyle>
        </ctrls:TabControl>
    </Grid>
</UserControl>
